Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deploy-contract tooling; e2e testing support #16

Merged
merged 90 commits into from
Mar 15, 2024
Merged

Conversation

dckc
Copy link
Member

@dckc dckc commented Mar 5, 2024

closes #15

uses rollup rather than agoric run to bundle core eval scripts

Supporting agoric run within deploy-contract.js is left for future work.

refs

@dckc dckc force-pushed the dc-e2e-testing branch 2 times, most recently from a852c1f to 4688f07 Compare March 5, 2024 05:18
@dckc dckc changed the base branch from main to dc-pay-contract March 5, 2024 06:07
@dckc dckc mentioned this pull request Mar 5, 2024
4 tasks
@dckc dckc force-pushed the dc-e2e-testing branch 2 times, most recently from 389c02e to adb0d46 Compare March 5, 2024 23:53
@dckc
Copy link
Member Author

dckc commented Mar 6, 2024

e2e test harness refactored as deployment tool: works in 1 case

So now this is progress on 2 issues:

Recording:

"screenshot":

11 2024-03-06T01:58:58.623679523Z PROPOSAL_STATUS_PASSED                                                                                                                                       
{ step: 'run', propsal: '11', delay: 1 } ...
{ step: 'run', propsal: '11', delay: 1 } ...
{ step: 'run', propsal: '11', delay: 1 } ...
{
  proposal_id: '11',
  content: {
    '@type': '/agoric.swingset.CoreEvalProposal',
    title: 'postal-service',
    description: 'postal-service',
    evals: [ [Object] ]
  },
  status: 'PROPOSAL_STATUS_PASSED',
  final_tally_result: { yes: '5000000000', abstain: '0', no: '0', no_with_veto: '0' },
  submit_time: '2024-03-06T01:58:48.623679523Z',
  deposit_end_time: '2024-03-08T01:58:48.623679523Z',
  total_deposit: [ { denom: 'ubld', amount: '60000000' } ],
  voting_start_time: '2024-03-06T01:58:48.623679523Z',
  voting_end_time: '2024-03-06T01:58:58.623679523Z'
}

@dckc dckc mentioned this pull request Mar 6, 2024
6 tasks
@dckc dckc mentioned this pull request Mar 8, 2024
3 tasks
@dckc dckc changed the title SPIKE: e2e testing, again feat: deploy-contract tooling; e2e testing support Mar 8, 2024
@dckc dckc force-pushed the dc-pay-contract branch 2 times, most recently from 5b400d9 to 5e0fa9a Compare March 12, 2024 19:32
@dckc dckc force-pushed the dc-e2e-testing branch 2 times, most recently from bd946ae to 6361347 Compare March 12, 2024 20:21
@dckc dckc changed the base branch from dc-pay-contract to dc-no-lower-cost March 12, 2024 20:28
dckc added 24 commits March 15, 2024 18:35
 - allow Promise<ZoeService>
 - never mind endo1
 - refactor: add NonNullish
 - refactor: use E.when
 - add docs to prevent line-wrapping error
 - get AmountMath from local module
 - refactor: use installContract(), startContract() helpers
 - refactor: export marshalData for testing
 - docs: describe functions
 - refactor: move AmountMath.make
 - bundle-tools moved from test/ to tools/
 - track installed bundles, completed scripts
 - deps to re-run core eval
not strictly a refactor, actually. usage went from
  --evals file...
to
  [--eval file]...
@dckc dckc merged commit dcbb802 into main Mar 15, 2024
1 check passed
@turadg turadg deleted the dc-e2e-testing branch March 16, 2024 17:34
@LuqiPan
Copy link
Collaborator

LuqiPan commented Mar 19, 2024

Well, I finally found out why I'm getting this error- my local docker's latest tag is no longer pointing at the actual latest tag from ghcr.io.

I ran a docker prune system --all and then re-pull the latest tag and that fixed it. On retrospective I could probably just untag the image locally and pull again.

@dckc
Copy link
Member Author

dckc commented Mar 19, 2024

Thanks for getting to the bottom of that.

I think we talked about a flag in docker-compose.yml that makes it more likely that you'll be current, but I don't recall the details. Maybe you want to open an issue in dapp-offer-up (and/or dapp-agoric-basics)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tooling to deploy / start multiple contracts
4 participants